home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
umich
/
telecomm
/
sticpsrc.lzh
/
SOURCE.ARC
/
ALLOC.H
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1990-07-31
|
395 b
|
25 lines
#ifndef NULL
#define NULL (void *)0
#endif
#ifdef LARGEDATA
#define PTR huge *
typedef unsigned long asize_t;
#else
#define PTR *
typedef unsigned asize_t;
#endif
union header {
struct {
union header PTR ptr;
asize_t size;
} s;
long l;
};
typedef union header HEADER;
#define NULLHDR (HEADER *)NULL
#define MIN_ALLOC 8192 /* minimum space we ask for at OS */